﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001391 RID: 5009
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeRogueEventHandbookRewardCsReq : IMessage<TakeRogueEventHandbookRewardCsReq>, IMessage, IEquatable<TakeRogueEventHandbookRewardCsReq>, IDeepCloneable<TakeRogueEventHandbookRewardCsReq>, IBufferMessage
	{
		// Token: 0x17003F2A RID: 16170
		// (get) Token: 0x0600E04F RID: 57423 RVA: 0x00257DC9 File Offset: 0x00255FC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeRogueEventHandbookRewardCsReq> Parser
		{
			get
			{
				return TakeRogueEventHandbookRewardCsReq._parser;
			}
		}

		// Token: 0x17003F2B RID: 16171
		// (get) Token: 0x0600E050 RID: 57424 RVA: 0x00257DD0 File Offset: 0x00255FD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeRogueEventHandbookRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003F2C RID: 16172
		// (get) Token: 0x0600E051 RID: 57425 RVA: 0x00257DE2 File Offset: 0x00255FE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeRogueEventHandbookRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600E052 RID: 57426 RVA: 0x00257DE9 File Offset: 0x00255FE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEventHandbookRewardCsReq()
		{
		}

		// Token: 0x0600E053 RID: 57427 RVA: 0x00257DFC File Offset: 0x00255FFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEventHandbookRewardCsReq(TakeRogueEventHandbookRewardCsReq other) : this()
		{
			this.handbookEventList_ = other.handbookEventList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E054 RID: 57428 RVA: 0x00257E26 File Offset: 0x00256026
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeRogueEventHandbookRewardCsReq Clone()
		{
			return new TakeRogueEventHandbookRewardCsReq(this);
		}

		// Token: 0x17003F2D RID: 16173
		// (get) Token: 0x0600E055 RID: 57429 RVA: 0x00257E2E File Offset: 0x0025602E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> HandbookEventList
		{
			get
			{
				return this.handbookEventList_;
			}
		}

		// Token: 0x0600E056 RID: 57430 RVA: 0x00257E36 File Offset: 0x00256036
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeRogueEventHandbookRewardCsReq);
		}

		// Token: 0x0600E057 RID: 57431 RVA: 0x00257E44 File Offset: 0x00256044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeRogueEventHandbookRewardCsReq other)
		{
			return other != null && (other == this || (this.handbookEventList_.Equals(other.handbookEventList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E058 RID: 57432 RVA: 0x00257E78 File Offset: 0x00256078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.handbookEventList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E059 RID: 57433 RVA: 0x00257EAC File Offset: 0x002560AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E05A RID: 57434 RVA: 0x00257EB4 File Offset: 0x002560B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E05B RID: 57435 RVA: 0x00257EBD File Offset: 0x002560BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.handbookEventList_.WriteTo(ref output, TakeRogueEventHandbookRewardCsReq._repeated_handbookEventList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E05C RID: 57436 RVA: 0x00257EE4 File Offset: 0x002560E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.handbookEventList_.CalculateSize(TakeRogueEventHandbookRewardCsReq._repeated_handbookEventList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E05D RID: 57437 RVA: 0x00257F1D File Offset: 0x0025611D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeRogueEventHandbookRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.handbookEventList_.Add(other.handbookEventList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E05E RID: 57438 RVA: 0x00257F4B File Offset: 0x0025614B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E05F RID: 57439 RVA: 0x00257F54 File Offset: 0x00256154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U && num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.handbookEventList_.AddEntriesFrom(ref input, TakeRogueEventHandbookRewardCsReq._repeated_handbookEventList_codec);
				}
			}
		}

		// Token: 0x040058D7 RID: 22743
		private static readonly MessageParser<TakeRogueEventHandbookRewardCsReq> _parser = new MessageParser<TakeRogueEventHandbookRewardCsReq>(() => new TakeRogueEventHandbookRewardCsReq());

		// Token: 0x040058D8 RID: 22744
		private UnknownFieldSet _unknownFields;

		// Token: 0x040058D9 RID: 22745
		public const int HandbookEventListFieldNumber = 3;

		// Token: 0x040058DA RID: 22746
		private static readonly FieldCodec<uint> _repeated_handbookEventList_codec = FieldCodec.ForUInt32(26U);

		// Token: 0x040058DB RID: 22747
		private readonly RepeatedField<uint> handbookEventList_ = new RepeatedField<uint>();
	}
}
